ColdFusion Article

Galleon

The following documentation was created on July 8, 2004. The current version of Galleon is 1.0. Feature requests and bug reports should be made either to the Galleon Support Forums at www.camdenfamily.com/morpheus/forums or via e-mail to ray@camdenfamily.com.

Installation

To install Galleon, unzip the ZIP file to your web server. You can place it anywhere; just be sure to note the location. Inside the folder you will see a subfolder called " installation." In that folder, find the install.sql file. This file should be run in a new SQL Server database. This creates all the necessary tables as well as the default admin login.

Next go to the " cfcs" subfolder and open settings.ini. This file obviously determines the settings for Galleon. The first setting is the DSN. Later you will create a DSN for Galleon. If you wish to use the default name, then don't change this. You will also be creating a ColdFusion mapping; leave this alone if you want to use the default. Perpage determines the number of records to show per page. FromAddress is the e-mail address used when notifications are sent to members. Finally, rootURL is the root location of the forums application. At minimum, you will need to change this setting.

Switch to your ColdFusion Administrator. Create a DSN with the name you used in the settings file (remember that the default is Galleon). Point it to the SQL Server database you just created. Next create a mapping (again you will probably use the default "galleonforums") that points to the folder where you unzipped the file.

The installation should be complete at this point. Open your browser to <your host>/<install folder>. You should see a message saying that no conferences are available. If you go to <your host>/<install folder>/admin you will be presented with a login form. Enter admin for the username and password. Once in, you can begin administrating Galleon.

Administration

The Galleon Administrator has three main sections: Conference Options, Security Options, and Stats. Let's start with the section you will spend the most time in, Conference Options.

Conference Options

Galleon divides forums three ways. At the highest level you have conferences. A simple site may have only one conference, while a more complex site could have multiple conferences. Consider a science fiction website. It could have a top-level conference for Movies, Books, Games, etc.

Forums are the next level of separation. Continuing with the sci-fi example, the Movies conference could have a forum for Star Wars, Star Trek, etc.

Threads are individual conversations inside forums. The Star Wars forum in the Movies conference could have a thread comparing the prequels to the classic trilogy.

Lastly, messages are the individual posts that make up each thread.

Galleon lets you add, edit, and delete any of these pieces of content from the Administrator. Most of this is self-explanatory but there are some things you should know:

  • If your site has only one conference, users will automatically be pushed to the forums listing when they hit your installation of Galleon.
  • Forums and threads can be marked read-only. If you use this setting, only the forums administrator can post messages.
  • Conferences, forums, and threads have an Active flag. If Active is set to false, they will not appear on the website. This is a nice way to hide or archive content temporarily without actually deleting it.

Security Options

Security options are handled by a user editor, which lets you add, edit, and delete users. Galleon understands three types of users:

  • ForumsAdmin can use the Administrator to edit posts on the public site
  • ForumsModerator can edit posts on the public site
  • ForumsMember can create posts

In general, you will not have to create users. Your visitors can use the registration form to create their own accounts. However, you may need the admin functionality to promote users to moderator level or to reset a user's password.

Note: While it is possible to assign a user to multiple groups, there is no real need to.

Stats

The Stats page displays various reports about your site. Use these reports to gauge how popular certain conferences or forums are, as well as which members are the most active in them.

Using Galleon

The public-facing part of Galleon is rather simple. Users are presented with a selection of conferences, forums, and threads. They do not need to register or log in to browse the messages. However, they do need to register or log in to create a new thread or respond to existing threads.

Users can receive notifications. This option can be set by clicking the Profile link. Once this is turned on, if a message is posted to a thread that the user has posted to, the user will get an e-mail informing him or her of the new message.

The search engine allows users to search not only messages but conferences, forums, and threads. This is useful for larger sites that may contain numerous forums. Users can choose whether to make a "phrase search," an "any search," or an "all search." A "phrase search" does an exact match—a search for Red Rum would only match Red Rum; an "any search" would match any instance of Red or Rum; and an "all search" would only match content that contains both Red and Rum.

RSS Feeds

Galleon creates RSS feeds automatically for conferences. Each conference has a unique RSS feed. You can find this by clicking the RSS link after you have selected a conference. The feed contains the last 20 posts to any thread in any forum in the conference.